import React from 'react'
import { NavBar, Space, Toast } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
function Toastlist() {
    const navigate= useNavigate()
     const back = () =>navigate(-1)
  return (
    <div>
      <NavBar onBack={back}>新增乘客</NavBar>
    </div>
  )
}

export default Toastlist
